package service

import (
	"context"
)

type Service interface {
	Sum(ctx context.Context, a, b int64) (int64, error)
	Concat(ctx context.Context, a, b string) (string, error)
}

type DemoService struct {
}

func NewDemoService() Service {
	return &DemoService{}
}

func (*DemoService) Sum(_ context.Context, a, b int64) (int64, error) {
	return a + b, nil
}

func (*DemoService) Concat(_ context.Context, a, b string) (string, error) {
	return a + b, nil
}
